//路由配置

import Layout from "@/pages/Layout/index"
import Login from "@/pages/Login/index"

import {createBrowserRouter} from 'react-router-dom'

//配置路由实例
const router = createBrowserRouter([
  {
    path: '/',
    element:<Layout />
  },
  {
    path: '/login',
    element:<Login />
  },
])


export default router